import React from "react";
import { Switch } from "react-router-dom";
import Navadv from "../componnets/Navadv";
import Topnav from "../componnets/Topnav";
const index = (props) => {
  return (
    <div>
      <Navadv />
      <Topnav />
      <Switch>{props.children}</Switch>
    </div>
  );
};
export default index;
